{template Public:Admin:header}

<form method="post" id="SubmitData">
     <table class="table table-hover">
          <thead>
               <tr>
                    <th width="20%"> <i class="fa fa-circle-o"></i> 项目名称 </th>
                    <th>
                         <div class="col-lg-6"><i class="fa fa-code"></i> 项目值</div>
                    </th>
               </tr>
          </thead>
          <tbody>

               <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>权限名称</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 权限名称 </td>
                    <td>
                         <div class="col-lg-6">
                              <input type="text" name="title" value="{if !empty($manage['title'])}{echo $manage['title']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>
               
               
                <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>权限地址 模块/控制器/动作</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 权限地址 </td
                    ><td>
                         <div class="col-lg-6">
                              <input type="text" name="name" value="{if !empty($manage['name'])}{echo $manage['name']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>
               
                <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>附加规则 如定义{score}>5  and {score}<100  表示用户的分数在5-100之间时这条规则才会通过</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 附加规则 </td
                    ><td>
                         <div class="col-lg-6">
                              <input type="text" name="condition" value="{if !empty($manage['condition'])}{echo $manage['condition']}{/if}" class="form-control">
                         </div>
                    </td>
               </tr>
               
               
               <tr>
                    <td class="width_160"><a title="" data-original-title="" data-content="<p class='text_color_999'> 权限类别</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 权限类别 </td>
                    <td>
                         <div class="col-lg-6">
                              <select name="menu" class="form-control">
                                   {if C('adminmenu')}
           							   {foreach C('adminmenu') $adminmenu}
                                       <option value="{echo $adminmenu['key']}" {if !empty($manage['menu'])}{if $manage['menu']==$adminmenu['key']} selected="selected" {/if}{/if}>{echo $adminmenu['name']}</option>
                                	   {/foreach}
       							   {/if}
                              </select>
                         </div>
                    </td>
               </tr>
               <tr>
                    <td class="width_160"><a title="" data-original-title="" data-content="<p class='text_color_999'> 权限类型</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 权限类型 </td>
                    <td>
                         <div class="col-lg-6">
                              <select name="admin" class="form-control">
                                   <option value="1" {if !empty($manage['admin'])}{if $manage['admin']==1} selected="selected" {/if}{/if}>后台</option>
                                   <option value="2" {if !empty($manage['admin'])}{if $manage['admin']==2} selected="selected" {/if}{/if}>前台</option>
                              </select>
                         </div>
                    </td>
               </tr>
               <tr>
                    <td class="width_160"><a title="" data-original-title="" data-content="<p class='text_color_999'> 权限状态 关闭后系统无法使用它</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 权限状态 </td>
                    <td>
                         <div class="col-lg-6">
                              <select name="status" class="form-control">
                                   <option value="0" {if empty($manage['status'])}selected="selected" {/if}>是否开启</option>
                                   <option value="1" {if !empty($manage['status'])}{if $manage['status']==1} selected="selected" {/if}{/if}>正常</option>
                                   <option value="2" {if !empty($manage['status'])}{if $manage['status']==2} selected="selected" {/if}{/if}>关闭</option>
                              </select>
                         </div>
                    </td>
               </tr>
          </tbody>
     </table>
     <div class="padding_20 text-center">
          <input type="hidden" name="Submit" value="true"/>
          <button class="btn btn-primary shiny" type="submit">提 交</button>
     </div>
</form>

<!--Bootstrap Tags Input--> 
<script src="{echo AURL}/js/tagsinput/bootstrap-tagsinput.js"></script> 


{template Public:Admin:footer}